package com.nbot.server.service.impl;

import com.nbot.server.domain.KeyParameterLogDO;
import com.nbot.server.mapper.master.KeyParameterLogMapper;
import com.nbot.server.service.KeyParameterLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class KeyParameterLogServiceImpl implements KeyParameterLogService {
    @Autowired
    private KeyParameterLogMapper keyParameterLogMapper;

    @Override
    public KeyParameterLogDO get(Long autoId) {
        return keyParameterLogMapper.get(autoId);
    }

    @Override
    public List<KeyParameterLogDO> list(Map<String, Object> map) {
        return keyParameterLogMapper.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return keyParameterLogMapper.count(map);
    }

    @Override
    public int save(KeyParameterLogDO keyParameterLog) {
        return keyParameterLogMapper.save(keyParameterLog);
    }

    @Override
    public int update(KeyParameterLogDO keyParameterLog) {
        return keyParameterLogMapper.update(keyParameterLog);
    }

    @Override
    public int remove(Long autoId) {
        return keyParameterLogMapper.remove(autoId);
    }

    @Override
    public int batchRemove(Long[] autoIds) {
        return keyParameterLogMapper.batchRemove(autoIds);
    }

    @Override
    public int deleteLt(long timestamp) {
        return keyParameterLogMapper.deleteLt(timestamp);
    }

}
